package com.pi.base.dto.result.respcode.user;

import com.pi.base.dto.result.respcode.ServerResp;

public enum UcResp implements ServerResp{
  RESP_UNKNOWN_ERROR(2100100,"UC_USER.UNKNOWN_ERROR", "未知错误"),
  RESP_SOURCE_ID_EMPTY(2100101,"UC_USER.SOURCE_ID_EMPTY", "来源为空"),
  RESP_WECHAT_ID_EMPTY(2100102,"UC_USER.WECHAT_CODE_EMPTY", "微信授权为空"),
  RESP_WECHAT_CODE_NOT_CORRECT(2100103,"UC_USER.WECHAT_CODE_NOT_CORRECT", "微信验证码不正确"),
  RESP_USER_ID_EMPTY(2100104,"UC_USER.USER_ID_EMPTY", "用户编号为空"),
  RESP_USER_NOT_FOUND(2100105, "UC_USER.USER_NOT_FOUND", "用户不存在"),
  RESP_USER_MOBILE_DUMPLICATE(2100106, "UC_USER.USER_MOBILE_DUMPLICATE", "用户手机号已被注册"),
  RESP_USER_WXINFO_NOT_FOUND(2100107, "UC_USER.USER_WXINFO_NOT_FOUND", "用户微信信息不存在"),
  RESP_USER_WXINFO_LOST(2100108, "UC_USER.USER_WXINFO_LOST", "用户微信信息不完整"),
  RESP_USER_INFO_LOST(2100109, "UC_USER.RESP_USER_INFO_LOST", "用户信息不完整"),
  RESP_FOLLOW_USER_NOT_FOUND(2100110, "UC_USER.FOLLOW_USER_NOT_FOUND", "关注或取关的用户不存在"),
  RESP_FOLLOW_STATUS_NOT_FOUND(2100111, "UC_USER.FOLLOW_STATUS_NOT_FOUND", "关注状态为空"),
  RESP_SHARE_NOT_FOUND(2100112, "UC_USER.SHARE_NOT_FOUND", "用户没有之间没有分享关系,不允许关注"),
  RESP_SHARE_INFO_EMPTY(2100113, "UC_SHARE.SHARE_INFO_EMPTY", "分享信息不存在"),
  
  
  ;
  private int errorCode;
  private String tag;
  private String desc;
  private UcResp(int errorCode, String tag, String desc) {
    this.errorCode = errorCode;
    this.tag = tag;
    this.desc = desc;
  }
  public int getErrorCode() {
    return errorCode;
  }
  public String getTag() {
    return tag;
  }
  public String getDesc() {
    return desc;
  }
}
